<div class="content4 page" data-page="createPickupDetailc2"
	id="createPickupDetailc2">
	<p class="location">当前位置: 提货列表 >提货详情</p>
	<div class="d2" style="border: none;">
		<span class="span1"><a id="accountDetail" class="accountDetail">融资项目信息</a></span><span
			class="span3">|</span> <span class="span2"><a
			id="accountMaterial" class="accountMaterial">证明材料</a></span><span
			class="span3">|</span> <span class="span4"><a
			id="accountProcess" class="accountProcess">融资动态</a></span><span
			class="span3">|</span> <span class="span5"><a
			id="warehousePickups" class="warehousePickups">提货列表</a></span> <a
			class="buttonOperate8 none"></a>
	</div>
	<div class="dataTitle" style="margin-bottom: 0;">
		<img src="../../../res/png/info_icon.png"> 审批状态:
	</div>
	<div class="container page" id="createPickupDetailc2StepBar"
		style="width: auto; margin-top: 0;"></div>
	<div class="content1">
		<script type="text/template" id="pickUpInfoTmpl">
			{@each datas as it}
					<div class="dataTitle">
						<img src="../../../res/png/info_icon.png"> 订单信息
					</div>
					<div class="dataLine">
						<div>
							提货单号:<input type="text" name="pickupNumber" value="${it.pickupNumber}" />
						</div>
						<div>
						</div>
					</div>
					<div class="dataLine">
						<div>
							制单人:<input type="text" name="creator" value="${it.creator}" />
						</div>
						<div class="requireInput">
							创建时间:<input type="text" name="createDateTime" value="${it.createDateTime}" />
						</div>
					</div>
					<div class="dataLine">
						<div>
							最后修改人:<input type="text" name="updator" value="${it.updator}" />
						</div>
						<div class="requireInput">
							最后修改时间:<input type="text" name="updateDateTime" value="${it.updateDateTime}" />
						</div>
					</div>
					
					<div class="dataTitle">
						<img src="../../../res/png/info_icon.png"> 供应商信息
					</div>
					<div class="dataLine">
						<div class="requireInput">
							供应商:<input type="text" name="enterpriseName" value="${it.enterpriseName}" />
						</div>
					</div>
					<div class="dataTitle">
						<img src="../../../res/png/info_icon.png"> 买方信息
					</div>
					<div class="dataLine">
						<div class="requireInput">
							送货地址:<input type="text" name="buyer" isNull="1" codeName="送货地址" placeholder="请输入送货地址" value="${it.deliveryAddress}" />
						</div>
						<div>
							
						</div>
					</div>
					<div class="dataLine">
						<div class="requireInput">
							提货方式:<input type="text" name="buyer" isNull="1" codeName="送货地址" placeholder="请输入送货地址" value="${getValueByKey(81, it.pickupMethod)}" />
						</div>
						<div class="requireInput">
							提货时间:<input type="text" name="pickupDate" value="${it.pickupDate}" />
						</div>
					</div>
					<div class="dataLine">
						<div class="requireInput">
							联系人:<input type="text" name="contactPerson" isNull="1" codeName="联系人" placeholder="请输入联系人" value="${it.contactPerson}" />
						</div>
						<div class="requireInput">
							联系方式:<input type="text" name="contactMobile" isNull="1" codeName="联系方式" placeholder="请输入联系方式" value="${it.contactMobile}" />
						</div>
					</div>
					<div class="dataLine">
						<div style="width: 90%;">
							备注:<textarea name="remark" placeholder="请输入备注" >${it.remark}</textarea>
						</div>
					</div>
					<div class="dataTitle">
						<img src="../../../res/png/info_icon.png"> 增值税发票开票信息
					</div>
					<div class="invoiceInfo">
						<div class="dataLine">
							<div>
								公司名称:<input type="text" name="invoiceEnterpriseName" isNull="1" codeName="公司名称" placeholder="请输入公司名称" value="${it.invoiceEnterpriseName}" />
							</div>
							<div>
								纳税识别号:<input type="text" name="invoiceTaxpayerNumber" isNull="1" codeName="公司名称" placeholder="纳税识别号" value="${it.invoiceTaxpayerNumber}" />
							</div>
						</div>
						<div class="dataLine">
							<div>
								地址、电话:<input type="text" name="invoiceAddress" isNull="1" codeName="地址、电话" placeholder="地址、电话" value="${it.invoiceAddress}" />
							</div>
							<div>
								开户行及账号:<input type="text" name="invoiceAccount" isNull="1" codeName="开户行及账号" placeholder="开户行及账号" value="${it.invoiceAccount}" />
							</div>
						</div>
					</div>
					
					<div class="dataTitle">
						<img src="../../../res/png/info_icon.png"> 提货信息
					</div>
					<div class="dataLine">
						<table class="table">
							<thead>
								<tr>
									<th>No</th>
									<th>融资编号/时间</th>
									<th>业务类型</th>
									<th>货物</th>
									<th>仓库</th>
									<th>监管量(吨)</th>
									<th>提货量(吨)</th>
									<th>本金(元)</th>
									<th>服务费(元)</th>
									<th>其他(元)</th>
									<th>提货金额(元)</th>
								</tr>
							</thead>
							<tbody>
								<span class="none">
									${sum1 = 0}
									${sum2 = 0}
									${sum3 = 0}
								</span>
								{@each it.bulkstockList as that, index}
								{@if that.financeId == it.financeId}
								<tr financeId="${that.financeId}">
									<td>${index*1 + 1}</td>
									<td>
										${that.financeNumber}
										<br/><span>${that.applicationDate}</span>
									</td>
									<td>${getValueByKey(7, it.productType)}</td>
									<td>${that.bulkstockName}</td>
									<td>${that.warehouseName}</td>
									<td class="supervisionQuantity" supervisionQuantity="${that.supervisionQuantity}">${formatCurrency(that.supervisionQuantity)}</td>
									<td class="pickupQuantity" pickupQuantity="${that.pickupQuantity}">${formatCurrency(that.pickupQuantity)}</td>
									<td>${that.bulkstockAmount}</td>
									<td>${that.interest}</td>
									<td>${that.others}</td>
									<td class="pickupAmount" pickupAmount="${that.pickupAmount}">${formatCurrency(that.pickupAmount)}</td>
									<td class="none">
									${sum1 = sum1*1 + that.bulkstockAmount*1}
									${sum2 = sum2*1 + that.interest*1}
									${sum3 = sum3*1 + that.others*1}
									</td>
									<td class="none">
									</td>
								</tr>
								{@/if}
								{@/each}
								<tr style="background: none; border: none;">
									<td></td>
									<td></td>
									<td></td>
									<td></td>
									<td style="font-size: 16px; text-align: right;">合计：</td>
									<td><span style="font-size: 16px;" id="supervisionQuantitys">sum</span></td>
									<td><span style="font-size: 16px;" id="pickupQuantitys">sum</span></td>
									<td><span style="font-size: 16px;" id="">${formatCurrency(sum1.toFixed(2))}</span></td>
									<td><span style="font-size: 16px;" id="">${formatCurrency(sum2.toFixed(2))}</span></td>
									<td><span style="font-size: 16px;" id="">${formatCurrency(sum3.toFixed(2))}</span></td>
									<td><span style="font-size: 16px;" id="pickupAmounts">${formatCurrency(sum4.toFixed(2))}</span></td>
								</tr>
							</tbody>
						</table>
					</div>
					<div class="totalDetail">
						<!-- <p style="text-align: center;"><span style="font-size: 16px;">合计：</span><span id="supervisionQuantitys">sum</span>(监管量)<span id="pickupQuantitys">sum</span>(提货量)<span id="pickupAmounts">sum</span>(提货金额)</p> -->					</div> 
			{@/each}
		</script>
	</div>
	<div class="dataTitle" style="margin-bottom: 0;">
		<img src="../../../res/png/info_icon.png"> 附件材料
	</div>
	<div class="dataLine" style="margin-top: 0;">
		<table class="table">
			<thead>
				<tr>
					<th>No</th>
					<th>文件名称</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody class="fileUuidBody">
			</tbody>
		</table>
	</div>
	<div class="pickupForm" style="margin-top: 15px;">
		<div class="dataTitle">
			<img src="../../../res/png/info_icon.png"> 合同信息
		</div>
		<table class="table">
		</table>
	</div>
</div>